// P3843 write by cn_ryh